﻿<UserControl x:Class="ICSharpCode.XamlDesigner.ToolboxView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:Outline="clr-namespace:ICSharpCode.WpfDesign.Designer.OutlineView;assembly=ICSharpCode.WpfDesign.Designer"
             xmlns:Default="clr-namespace:ICSharpCode.XamlDesigner">
	<UserControl.Resources>
		
		<HierarchicalDataTemplate DataType="{x:Type Default:AssemblyNode}"
		                         ItemsSource="{Binding Controls}">
			<Outline:IconItem Icon="Images/Reference.png"
			                  Text="{Binding Name}"
			                  ToolTip="{Binding Path}" />
		</HierarchicalDataTemplate>
		
		<DataTemplate DataType="{x:Type Default:ControlNode}">
			<Outline:IconItem Icon="Images/Tag.png"
			                  Text="{Binding Type.Name}" />
		</DataTemplate>
	
	</UserControl.Resources>
	
	<TreeView x:Name="uxTreeView"
	          ItemsSource="{Binding AssemblyNodes}"
	          BorderThickness="0"/>

</UserControl>
